#pragma once

#include "NFComm/NFPluginModule/NFPlatform.h"
#include "NFComm/NFPluginModule/NFIModule.h"
#include "NFRebot.h"

#include "NFComm/NFPluginModule/NFIKernelModule.h"
#include "NFComm/NFPluginModule/NFINoSqlModule.h"

class NFRebotModule : public NFIModule
{
public:
    NFRebotModule(NFIPluginManager* p)
    {
        pPluginManager = p;
    }
public:
    NFMapEx<uint32_t, NFRebot>      m_mapRebots;
public:
    virtual uint32_t GetStaticRebotId();
public:
    virtual bool Init();
    virtual bool AfterInit();
    virtual bool ReadyExecute();
    virtual bool Execute();
public:
    NFINoSqlModule* m_pNoSqlModule;
};
